ObjectDB Database Search
51-100 of 200 resultsjakarta.persistence.JoinColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn String name (Optional) The name ... ): The concatenation of the following: the name of the referencing relationship property or field of the referencing entity or embeddable class; " _ "; the name of the referenced primary key column | |
jakarta.persistence.NamedEntityGraph.name Jakarta Persistence (JPA) Method in jakarta.persistence.NamedEntityGraph String name (Optional) The name used to identify the entity graph in calls to EntityManager.getEntityGraph . If no name is explicitly specified, the name defaults to the entity name of the annotated root entity. Entity graph | |
jakarta.persistence.PrimaryKeyJoinColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumn String name (Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as | |
jakarta.persistence.CollectionTable.name Jakarta Persistence (JPA) Method in jakarta.persistence.CollectionTable String name (Optional) The name of the collection table. If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.AttributeOverride.name Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride String name (Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.UniqueConstraint.name Jakarta Persistence (JPA) Method in jakarta.persistence.UniqueConstraint String name (Optional) The name of the constraint. Defaults to a provider-generated name . Default: "" Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.Table.name Jakarta Persistence (JPA) Method in jakarta.persistence.Table String name (Optional) The name of the table. Defaults to the entity name . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TableGenerator.name Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String name (optional) A unique generator name that can be referenced by one or more classes to be the generator for id values. Defaults to the name of the entity when the annotation occurs on an entity class or primary key | |
jakarta.persistence.Index.name Jakarta Persistence (JPA) Method in jakarta.persistence.Index String name (Optional) The name of the index. Defaults to a provider-generated name . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.ForeignKey.name Jakarta Persistence (JPA) Method in jakarta.persistence.ForeignKey String name (Optional) The name of the foreign key constraint. Defaults to a provider-generated name . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.OrderColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn String name (Optional) The name of the ordering column. Defaults to the concatenation of the name of the referencing property or field; " _ "; " ORDER ". Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.name() Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration String name () The name of the persistence unit, which may be used by the persistence provider for logging and error reporting. Returns: the name of the persistence unit.. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.MapKeyColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String name (Optional) The name of the map key column. The table in which it is found depends upon the context. If the map key ... that is the value of the map. Defaults to the concatenation of the following: the name of the referencing | |
jakarta.persistence.MapKey.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKey String name (Optional) The name of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key | |
jakarta.persistence.MapKeyJoinColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyJoinColumn String name (Optional) The name of the foreign key column for the map key. The table in which it is found depends ... (only applies if a single join column is used.) The concatenation of the following: the name | |
jakarta.persistence.JoinTable.name Jakarta Persistence (JPA) Method in jakarta.persistence.JoinTable String name (Optional) The name of the join table. Defaults to the concatenated names of the two associated primary entity tables, separated by an underscore. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SequenceGenerator.name Jakarta Persistence (JPA) Method in jakarta.persistence.SequenceGenerator String name (Optional) A unique generator name that can be referenced by one or more classes to be the generator for primary key values. Defaults to the name of the entity when the annotation occurs on an entity class or | |
jakarta.persistence.StoredProcedureParameter.name Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureParameter String name The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure uses positional parameters. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.CheckConstraint.name Jakarta Persistence (JPA) Method in jakarta.persistence.CheckConstraint String name (Optional) The name of the constraint. Defaults to a provider-generated name . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Column.name Jakarta Persistence (JPA) Method in jakarta.persistence.Column String name (Optional) The name of the column. Defaults to the property or field name . Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.AssociationOverride.name Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverride String name (Required) The name of the relationship property whose mapping is being overridden if property-based access is being used, or the name of the relationship field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceProperty.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceProperty String name The name of the property Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceContext.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceUnit.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.FieldResult.name Jakarta Persistence (JPA) Method in jakarta.persistence.FieldResult String name Name of the persistent field or property of the class. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedSubgraph.name Jakarta Persistence (JPA) Method in jakarta.persistence.NamedSubgraph String name (Required) The name of the subgraph as referenced from a NamedAttributeNode element. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SecondaryTable.name Jakarta Persistence (JPA) Method in jakarta.persistence.SecondaryTable String name (Required) The name of the table. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.DiscriminatorColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.DiscriminatorColumn String name (Optional) The name of column to be used for the discriminator. Default: "DTYPE" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.QueryHint.name Jakarta Persistence (JPA) Method in jakarta.persistence.QueryHint String name Name of the hint. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.LocalDateField.name Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateField name Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.LocalDateTimeField.name Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalDateTimeField name Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.LocalTimeField.name Jakarta Persistence (JPA) Field in jakarta.persistence.criteria.LocalTimeField name Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.name Jakarta Persistence (JPA) Field in jakarta.persistence.PersistenceConfiguration name Since: Jakarta Persistence (JPA) 1.0 | |
Index Definition Querying without indexes requires iteration over entity objects in the database one by ... indexes the iteration can be avoided and complex queries over millions of objects can be executed quickly ... indexedField2; // unique @Index ( name ="i3") int indexedField3; @Unique Integer indexedField4 | |
jakarta.persistence.EntityManager. Since: Jakarta Persistence (JPA) 2.1 Query createNamedQuery ( String name ) Create an instance of Query for executing a named query written in the Jakarta Persistence query language or in native SQL. Parameters: name - the name of a query defined in metadata Returns: the new query instance. Throws | |
Comparison in JPQL and Criteria API Most JPQL queries use at least one comparison operator in their WHERE clause. Comparison Operators ... its own notation (which is also in use by JDOQL, the JDO Query Language). ObjectDB supports both forms ... . Equality operators (=, , == , != ) on strings in queries follow the logic of Java's equals | |
Online Backup. Starting Online Backup The online backup can be started by executing a special query on an EntityManager ... ; em.createQuery("objectdb backup").getSingleResult(); The backup query string is always exactly ... mode a subdirectory of the ObjectDB home directory on the server side). A new subdirectory with a name | |
Posting Sample Code.getTransaction().commit(); Query query = em.createQuery("SELECT e FROM MyEntity e"); List resultList = query ... { private String name ;   | |
JPA Persistence Unit classes. However, it might be useful to register classes that define generators and named queries (by annotations). Otherwise, the generators and named queries are available only when the containing ... A persistence unit is defined by a persistence-unit XML element. The required name attribute ( “my-pu | |
Retrieving JPA Entity Objects = manager.getName(); Accessing a persistent field in a hollow object (e.g. the name of the manager in ... and the other for checking a persistent field of an entity object. Retrieval by Query The most flexible method for retrieving objects from the database is to use queries . The official query language | |
BIRT/ODA ObjectDB Driver and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query ... data source types. Enter data source name (e.g. ObjectDB Points ) and click Next . Specify an ObjectDB ... . Select an ObjectDB data source (e.g. ObjectDB Points ). Enter a data set name (e.g. Points by X | |
General Settings and Logging, such as query results that contain millions of objects. The element specifies temporary file settings ... specifying 0 as the maximum list size . The user attribute specifies if user names should be saved ... ( "" ) logging to file is disabled. Every day a new log file is generated with the name odb .log | |
Schema Update ... ... A element has two roles: If the optional new- name attribute is specified, the package name is changed from the original name , which is specified by the required name attribute, to the new name . All the classes in that package are moved to the new package name . In addition, whether or not a new | |
jakarta.persistence.EntityManagerFactory entityGraph - entity graph Since: Jakarta Persistence (JPA) 2.1 void addNamedQuery ( String name , Query query ) Define the query , typed query , or stored procedure query as a named query such that future query ... binding) in effect when the named query is added is retained as part of the named query definition | |
jakarta.persistence.criteria.CriteriaBuilder criteria queries , compound selections, expressions, predicates, orderings. Note that Predicate ... compatible with varags. Since: Jakarta Persistence (JPA) 2.0 The JPA Criteria API Queries article ... to specify a constructor that is applied to the results of the query execution. If the constructor | |
Step 3: Define an EJB Session Bean Bean and clicking Next . Enter GuestDao as the EJB class name - use exactly that case sensitive class name . The Java package name should be guest. Click Finish to create the new session bean (EJB ... getAllGuests() { TypedQuery query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class | |
Step 3: Define a Spring DAO Component . The package name should be guest . Enter GuestDao as the class name - use exactly that case sensitive class name . Click Finish to create the new DAO Spring component class. Now ... getAllGuests() { TypedQuery query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return | |
Step 3: Define an EJB Session Bean node (in the [Package Explorer] window) and selecting New Class . The package name should be guest . Enter GuestDao as the class name - use exactly that case sensitive class name . Click Finish ... ); } // Retrieves all the guests: public List getAllGuests() { TypedQuery query = em.createQuery( "SELECT g FROM | |
Step 4: Create an ObjectDB Data Set Queries against the database are represented in BIRT as data sets. To create the data set: Open ... Points ). Enter a data set name (e.g. Points by X ) and click Next . The database in this tutorial contains Point entity objects. We will use a simple JPQL query that retrieves points with x | |
Step 3: Define a Spring DAO Component Java Class... . Enter GuestDao as the class name - use exactly that case sensitive class name . The Package should be guest. Click Finish to create the new DAO Spring component class. Now ... () { TypedQuery query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return |